package cn.sczhyt.modules.szhy.dao;

import cn.sczhyt.modules.szhy.entity.MeetingSignInEntity;
import cn.sczhyt.modules.szhy.entity.MeetingUserEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 
 * 
 * @author luoshijie
 * @email 1169414426@qq.com
 * @date 2020-11-25 10:54:22
 */
@Mapper
public interface MeetingSignInDao extends BaseMapper<MeetingSignInEntity> {

    MeetingSignInEntity selectBySignIn(@Param("userId") String userId,
                                       @Param("username") String username,
                                       @Param("meetingId") String meetingId);

    IPage<MeetingSignInEntity> selectByMeetingId(Page<MeetingSignInEntity> pages,
                                                 @Param("meetingId") String meetingId);

}
